<?php require_once "core/config.php"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title><?php echo TITLE_PROJECT . " Главная "; ?></title>
        <link rel="stylesheet" href="styles/style.css" type="text/css" media="screen, projection" />
        <script type="text/javascript" src="core/libs/jquery-1.5.1.min.js"></script>
        <script type="text/javascript" src="core/libs/js/functions.js"></script>
        <script type="text/javascript" src="core/libs/js/jquery.jmessages.js"></script>
        <script type="text/javascript" src="core/libs/js/index.js"></script>
        <script type="text/javascript" src="core/libs/js/changeGender.js"></script>
        <script type="text/javascript" src="core/libs/js/stigma.js"></script>
        <script type="text/javascript" src="core/libs/js/settings.js"></script>
        <script type="text/javascript" src="core/libs/js/shop.js"></script>
        <script type="text/javascript" src="core/libs/js/activatepremium.js"></script> 
        <script type="text/javascript" src="core/libs/js/modal.js"></script>
        <script type="text/javascript" src="core/libs/js/addToFriend.js"></script>
        <script type="text/javascript" src="core/libs/js/users.js"></script>
        <script type="text/javascript" src="core/libs/js/recovery.js"></script>
        <script type="text/javascript" src="core/libs/js/setparams.js"></script>
        <script type="text/javascript" src="core/libs/js/registration.js"></script>
        <script type="text/javascript" src="core/libs/js/login.js"></script>
        <script type="text/javascript" src="core/libs/js/upload/upload.js"></script>
        <script type="text/javascript" src="core/libs/js/upload/ajaxupload.js"></script>
        <link rel="icon" href="favicon.ico" type="image/x-icon">
<!--<script src="http://static.yg.com/js/exsyndication.js" type="text/javascript"></script>-->
            <!--[if lte IE 8]><link rel="stylesheet" href="templates/style_ie.css" type="text/css" media="screen, projection" /><![endif]-->
    </head>

    <body>
        <div id="page-header">
            <div class="wrapper">
                <div id="menubar">
                    <div id="menu">
                        <?php require_once "vmenu.php"; ?>
                    </div>
                </div>
            </div>
        </div><!-- #header-->
        <div id='status'>
            <?php require_once "core/application/views/display_status.php"; ?>
        </div>
        <?php if (isset($_SESSION['id']) && isset($_SESSION['name'])) : ?>
            <div id="requests">
                <?php require_once "core/application/views/vcountrequests.php"; ?>
            </div>
        <?php endif; ?>
        <div id='left'>
            <a href='<?php echo $conf->configData['site']; ?>'><img alt="" src="content/images/btns/sitebtn.png" /></a>
            <p><a href='<?php echo $conf->configData['forum']; ?>'><img alt="" src="content/images/btns/forumbtn.png" /></a></p>
        </div>
        <div id='right'>
            <?php if (isset($_SESSION['allow_adm'])) : ?>
                <p><a href='index?adm'><img alt=""   src="content/images/btns/admbtn.png" /></a></p>
            <?php endif; ?>
        </div>